﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DFUtil
{
    /// <summary>
    /// Stores information about a particular run configuration.
    /// </summary>
    public class RunConfiguration
    {
        #region Properties

        private string _name;
        /// <summary>
        /// Gets or sets the name of the run configuration.
        /// </summary>
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        private List<int> _phases;
        /// <summary>
        /// Gets the numbers of the phases used.
        /// </summary>
        public List<int> Phases
        {
            get { return _phases; }
        }

        private List<string> _keys;
        /// <summary>
        /// Gets or sets the list of keys that correlate to the run configuration.
        /// </summary>
        public List<string> Keys
        {
            get { return _keys; }
            set { _keys = value; }
        }

        #endregion

        #region Constructor

        /// <summary>
        /// Creates the run configuration, using the given name, phases list, and keys list.
        /// </summary>
        /// <param name="name">Name of run configuration.</param>
        /// <param name="phases">List of phases used in run configuration.</param>
        /// <param name="keys">List of keys corresponding to the run configuration.</param>
        public RunConfiguration(string name, List<int> phases, List<string> keys)
        {
            _name = name;
            _phases = phases;
            _keys = keys;
        }

        #endregion
    }
}
